package com.gccloud.tgyfirst.bro.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gccloud.starter.core.entity.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel
@Accessors(chain = true)
@TableName("bro")
@ToString(callSuper = true)
public class BroEntity extends SuperEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(notes = "姓名")
    private String name;

    @ApiModelProperty(notes = "年龄")
    private Integer age;

    @ApiModelProperty(notes = "性别")
    private Integer sex;

    @ApiModelProperty(notes = "家乡")
    private String hometown;

    @ApiModelProperty(notes = "爱好")
    private String hobby;

}
